package com.hqyj.pojo;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author rock
 * @since 2021-11-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ScoreManagement extends MyPage implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 成绩管理id
     */
    @TableId(value = "score_management_id",type = IdType.AUTO)
    private Integer scoreManagementId;

    /**
     * 逻辑外键(学生Id)
     */
    private Integer studentId;

    /**
     * 学生
     * */
    @TableField(exist = false)
    private String studentName;

    /**
     * 分数
     */
    private Integer score;

    /**
     * 科目id
     */
    private Integer subjectId;

    /**
     * 科目
     * */
    @TableField(exist = false)
    private String subjectName;

    /**
     * 试卷Id
     * */
    private Integer examId;

    /**
     * 试卷名
     * */
    @TableField(exist = false)
    private String examTitle;

    /**
     *  及格率
     * */
    @TableField(exist = false)
    private Float passRate;
}
